<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增连续剧信息')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-info-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">对象类型：</label>
            <div class="col-sm-8">
                <input name="elementtype" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">操作类型：</label>
            <div class="col-sm-8">
                <input name="action" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">全局唯一标识：</label>
            <div class="col-sm-8">
                <input name="code" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">连续剧名称：</label>
            <div class="col-sm-8">
                <input name="name" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">原名：</label>
            <div class="col-sm-8">
                <input name="originalname" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">首播日期：</label>
            <div class="col-sm-8">
                <input name="orgairdate" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">一句话点评影片：</label>
            <div class="col-sm-8">
                <input name="shortdesc" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">是否计费：</label>
            <div class="col-sm-9">
                <select class="form-control" name="bcharging">
                    <option value="0">免费</option>
                    <option value="1">付费</option>

                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">计费模式：</label>
            <div class="col-sm-9">
                <select class="form-control" name="chargingmode">
                    <option value="0">单品</option>
                    <option value="1">产品包</option>
                    <option value="2">单点和产品包</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">计费定价：</label>
            <div class="col-sm-8">
                <input name="price" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">总集数：</label>
            <div class="col-sm-8">
                <input name="volumncount" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">上线状态标志：</label>
            <div class="col-sm-9">
                <select class="form-control" name="status">
                    <option value="0">上线</option>
                    <option value="1">下线</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">描述信息：</label>
            <div class="col-sm-8">
                <textarea name="description" class="form-control" required></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">导演列表：</label>
            <div class="col-sm-8">
                <input name="actordisplay" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">主演列表：</label>
            <div class="col-sm-8">
                <input name="writerdisplay" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">剧头类型：</label>
            <div class="col-sm-9">
                <select class="form-control" name="seriestype">
                    <option value="1">连续剧</option>
                    <option value="2">单片</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">国家地区：</label>
            <div class="col-sm-8">
                <input name="originalcountry" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">版权方标识：</label>
            <div class="col-sm-8">
                <input name="copyright" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">内容提供商标识：</label>
            <div class="col-sm-8">
                <input name="contentprovider" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">标签：</label>
            <div class="col-sm-8">
                <input name="tags" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">发行年代：</label>
            <div class="col-sm-8">
                <input name="releaseyear" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">一级分类：</label>
            <div class="col-sm-8">
                <input name="programtype" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">二级分类：</label>
            <div class="col-sm-8">
                <input name="programtype2" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">英文名称：</label>
            <div class="col-sm-8">
                <input name="enname" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">副标题名称：</label>
            <div class="col-sm-8">
                <input name="vname" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">清晰度：</label>
            <div class="col-sm-9">
                <select class="form-control" name="definition">
                    <option value="1">高清</option>
                    <option value="2">流畅</option>
                    <option value="3">超清</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">主持人：</label>
            <div class="col-sm-8">
                <input name="compere" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">嘉宾：</label>
            <div class="col-sm-8">
                <input name="guest" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">手机端主海报：</label>
            <div class="col-sm-8">
                <input name="phoneposterurl1" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">手机端副海报：</label>
            <div class="col-sm-8">
                <input name="phoneposterurl2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">机顶盒主海报：</label>
            <div class="col-sm-8">
                <input name="tvposterurl1" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">机顶盒副海报：</label>
            <div class="col-sm-8">
                <input name="tvposterurl2" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">媒资所属终端：</label>
            <div class="col-sm-8">
                <input name="terminalid" class="form-control" type="text" required>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">媒资类型：</label>
            <div class="col-sm-9">
                <select class="form-control" name="metatype">
                    <option value="0">多剧集</option>
                    <option value="1">单集</option>
                </select>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "tvManagement";
    $("#form-info-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-info-add').serialize());
        }
    }
</script>
</body>
</html>
